import ViewModel from './view-model';

const vm = new ViewModel({
  el: '#app',
  data() {
    return {
      title: 'This is title',
      todoData: []
    };
  }
});

setTimeout(() => {
  vm.$data.title = 'Hello MVVM.';
}, 1000);
